using System;
using System.Windows.Forms;

namespace GUserInterface
{
    public partial class WelcomeDialog : Form
    {
        #region Variables

        private ProjectType _CSType;

        #endregion

        #region Construction

        public WelcomeDialog()
        {
            InitializeComponent();
        }

        #endregion

        #region Methods

        private void button1_Click(object sender, EventArgs e)
        {
            _CSType = ProjectType.New;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            _CSType = ProjectType.Old;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        #endregion

        #region Properties

        public ProjectType CSType
        {
            get { return _CSType;  }
        }

        #endregion

    }
}